﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using SAF.ClassFactory;
using Gift.Model;
using Gift.DAL;


namespace MvcSite.Service
{
    public class BaseFactory
    {
        public static DALGoods theGoods = ClassFactory.GetFactory("DALGoods") as DALGoods;
        public static DALBrand theBrand = ClassFactory.GetFactory("DALBrand") as DALBrand;
        public static DALCategory theCategory = ClassFactory.GetFactory("DALCategory") as DALCategory;
        public static DALShoppingCart theShoppingCart = ClassFactory.GetFactory("DALShoppingCart") as DALShoppingCart;
        public static DALCar theCar = ClassFactory.GetFactory("DALCar") as DALCar;
        public static DALUser theUser = ClassFactory.GetFactory("DALUser") as DALUser;
        public static DALGroupBuyShoppingCart theGroupBuyShoppingCart = ClassFactory.GetFactory("DALGroupBuyShoppingCart") as DALGroupBuyShoppingCart;
        public static DALInBox theInBox = ClassFactory.GetFactory("DALInBox") as DALInBox;
        public static DALRegion theRegion = ClassFactory.GetFactory("DALRegion") as DALRegion;
        public static DALCategoryAd theCategoryAd = ClassFactory.GetFactory("DALCategoryAd") as DALCategoryAd;
        public static DALCompany theCompany = ClassFactory.GetFactory("DALCompany") as DALCompany;
        public static DALCommodityScore theCommodityScore = ClassFactory.GetFactory("DALCommodityScore") as DALCommodityScore;
        public static DALFreightWay theFreightWay = ClassFactory.GetFactory("DALFreightWay") as DALFreightWay;
        public static DALOrderGoodsEntitys theOrderGoodsEntitys = ClassFactory.GetFactory("DALOrderGoodsEntitys") as DALOrderGoodsEntitys;
        public static DALFavorites theFavorites = ClassFactory.GetFactory("DALFavorites") as DALFavorites;
        public static DALGroupBuyOrderDetail theGroupBuyOrderDetail = ClassFactory.GetFactory("DALGroupBuyOrderDetail") as DALGroupBuyOrderDetail;
        public static DALGroupBuyOrder theGroupBuyOrder = ClassFactory.GetFactory("DALGroupBuyOrder") as DALGroupBuyOrder;
        public static DALGoodsEntitysSpecifications theGoodsEntitysSpecifications = ClassFactory.GetFactory("DALGoodsEntitysSpecifications") as DALGoodsEntitysSpecifications;
        public static DALOrder theOrder = ClassFactory.GetFactory("DALOrder") as DALOrder;
        public static DALExpenseRecords theExpenseRecords = ClassFactory.GetFactory("DALExpenseRecords") as DALExpenseRecords;
        public static DALGoodsPromotion theGoodsPromotion = ClassFactory.GetFactory("DALGoodsPromotion") as DALGoodsPromotion;
        public static DALMail theMail = ClassFactory.GetFactory("DALMail") as DALMail;
        public static DALCategoryBrand theCategoryBrand = ClassFactory.GetFactory("DALCategoryBrand") as DALCategoryBrand;
        public static DALGoodsAttribute theGoodsAttribute = ClassFactory.GetFactory("DALGoodsAttribute") as DALGoodsAttribute;
        public static DALPageList thePageList = ClassFactory.GetFactory("DALPageList") as DALPageList;
        public static DALGoodsComment theGoodsComment = ClassFactory.GetFactory("DALGoodsComment") as DALGoodsComment;
        public static DALOnlineMessage theOnlineMessage = ClassFactory.GetFactory("DALOnlineMessage") as DALOnlineMessage;
        public static DALMessageReply theMessageReply = ClassFactory.GetFactory("DALMessageReply") as DALMessageReply;
        public static DALGoodGallery theGoodGallery = ClassFactory.GetFactory("DALGoodGallery") as DALGoodGallery;
        public static DALUserAddress theUserAddress = ClassFactory.GetFactory("DALUserAddress") as DALUserAddress;
        public static DALCardOrder theCardOrder = ClassFactory.GetFactory("DALCardOrder") as DALCardOrder;
        public static DALGoodsEntitys theGoodsEntitys = ClassFactory.GetFactory("DALGoodsEntitys") as DALGoodsEntitys;
        public static DALPointsFor thePointsFor = ClassFactory.GetFactory("DALPointsFor") as DALPointsFor;
        public static DALPointsForOrder thePointsForOrder = ClassFactory.GetFactory("DALPointsForOrder") as DALPointsForOrder;
        public static DALUserRank theUserRank = ClassFactory.GetFactory("DALUserRank") as DALUserRank;
        public static DALBanner theBanner = ClassFactory.GetFactory("DALBanner") as DALBanner;
        public static DALCustomNavigation theCustomNavigation = ClassFactory.GetFactory("DALCustomNavigation") as DALCustomNavigation;
        public static DALDeliveryWay theDeliveryWay = ClassFactory.GetFactory("DALDeliveryWay") as DALDeliveryWay;
        public static DALLogisticsCompany theLogisticsCompany = ClassFactory.GetFactory("DALLogisticsCompany") as DALLogisticsCompany;
        public static DALFreightTemplate theFreightTemplate = ClassFactory.GetFactory("DALFreightTemplate") as DALFreightTemplate;
        public static DALBill theBill = ClassFactory.GetFactory("DALBill") as DALBill;
        public static DALCardType theCardType = ClassFactory.GetFactory("DALCardType") as DALCardType;
        public static DALCardState theCardState = ClassFactory.GetFactory("DALCardState") as DALCardState;
        public static DALProfessionAreaType theProfessionAreaType = ClassFactory.GetFactory("DALProfessionAreaType") as DALProfessionAreaType;
        public static DALCompanyLevel theCompanyLevel = ClassFactory.GetFactory("DALCompanyLevel") as DALCompanyLevel;
        public static DALUserRuleRef theUserRuleRef = ClassFactory.GetFactory("DALUserRuleRef") as DALUserRuleRef;
        public static DALRule theRule = ClassFactory.GetFactory("DALRule") as DALRule;
        public static DALCompanyRule theCompanyRule = ClassFactory.GetFactory("DALCompanyRule") as DALCompanyRule;
        public static DALGoodsType theGoodsType = ClassFactory.GetFactory("DALGoodsType") as DALGoodsType;
        public static DALAttributes theAttributes = ClassFactory.GetFactory("DALAttributes") as DALAttributes;
        public static DALAttributeValue theAttributeValue = ClassFactory.GetFactory("DALAttributeValue") as DALAttributeValue;
        public static DALGoodsCategory theGoodsCategory = ClassFactory.GetFactory("DALGoodsCategory") as DALGoodsCategory;
        public static DALSpecificationsValue theSpecificationsValue = ClassFactory.GetFactory("DALSpecificationsValue") as DALSpecificationsValue;
        public static DALSpecifications theSpecifications = ClassFactory.GetFactory("DALSpecifications") as DALSpecifications;
        public static DALGoodsAgent theGoodsAgent = ClassFactory.GetFactory("DALGoodsAgent") as DALGoodsAgent;
        public static DALNavigationCategory theNavigationCategory = ClassFactory.GetFactory("DALNavigationCategory") as DALNavigationCategory;
        public static DALExchangeGoods theExchangeGoods = ClassFactory.GetFactory("DALExchangeGoods") as DALExchangeGoods;
        public static DALDepartment theDepartment = ClassFactory.GetFactory("DALDepartment") as DALDepartment;
        public static DALAdminLogin theAdmin = ClassFactory.GetFactory("DALAdminLogin") as DALAdminLogin;
        public static DALRole theRole = ClassFactory.GetFactory("DALRole") as DALRole;
        public static DALOutBox theOutBox = ClassFactory.GetFactory("DALOutBox") as DALOutBox;
        public static DALCustomerService theCustomerService = ClassFactory.GetFactory("DALCustomerService") as DALCustomerService;
        public static DALArticle theArticle = ClassFactory.GetFactory("DALArticle") as DALArticle;
        public static DALArticleType theArticleType = ClassFactory.GetFactory("DALArticleType") as DALArticleType;
        public static MemberAccount theMemberAccount = ClassFactory.GetFactory("MemberAccount") as MemberAccount;
        public static DALOrderAccount theOrderAccount = ClassFactory.GetFactory("DALOrderAccount") as DALOrderAccount;
        public static DALOrderCompain theOrderCompain = ClassFactory.GetFactory("DALOrderCompain") as DALOrderCompain;
        public static DALCompain theCompain = ClassFactory.GetFactory("DALCompain") as DALCompain;
        public static DALWarehouseGoodsOut theWarehouseGoodsOut = ClassFactory.GetFactory("DALWarehouseGoodsOut") as DALWarehouseGoodsOut;
        public static DALRoleRuleRef theRoleRuleRef = ClassFactory.GetFactory("DALRoleRuleRef") as DALRoleRuleRef;
        public static DALWarehouse theWarehouse = ClassFactory.GetFactory("DALWarehouse") as DALWarehouse;
        public static DALWarehouseGoods theWarehouseGoods = ClassFactory.GetFactory("DALWarehouseGoods") as DALWarehouseGoods;
        public static DALGroupBuyCategory theGroupBuyCategory = ClassFactory.GetFactory("DALGroupBuyCategory") as DALGroupBuyCategory;
        public static DALGroupBuy theGroupBuy = ClassFactory.GetFactory("DALGroupBuy") as DALGroupBuy;
        public static DALWarehouseGoodsInventory theWarehouseGoodsInventory = ClassFactory.GetFactory("DALWarehouseGoodsInventory") as DALWarehouseGoodsInventory;
        public static DALWarehouseGoodsInventoryDetail theWarehouseGoodsInventoryDetail = ClassFactory.GetFactory("DALWarehouseGoodsInventoryDetail") as DALWarehouseGoodsInventoryDetail;

    }
}